package cn.com.joycode.admin.entrance.configuration;

import cn.com.joycode.nimble.core.message.NbMsgBuilder;
import cn.com.joycode.nimble.core.message.NbMsgBuilderFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Slf4j
@Configuration
public class NimbleAdminConfigurer {

    @Bean
    public NbMsgBuilder createNbMsgBuilder() {
        return NbMsgBuilderFactory.builder("NB-ADMIN");
    }
}
